package com.zwy.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 *  UserRole 用户角色关联实体类
 * @author zwy
 * @version 1.0
 * @description: UserRole
 * @date 2025/9/18 10:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
@TableName("sys_user_role")
public class UserRole {
    // 主键id
    private Long id;
    // 用户id
    private Long userId;
    // 角色id
    private Long roleId;

}
